package ooday03;

public abstract class Animal1 {
    String name;
    int age;
    String color;

    Animal1(String name,int age,String color){
        this.name=name;
        this.age=age;
        this.color=color;
    }

    void drink(){
        System.out.println(color+"的"+name+"正在喝水，今年"+age+"岁了");
    }
    abstract void eat();
}
